package com.bw.lk.user.control;

import javax.servlet.http.HttpServletRequest;

import com.bw.lk.user.service.UserServiceImpl;
import com.bw.lk.user.vo.User;

public class ZdLoginFilter {
	private static UserServiceImpl userServiceImpl;
	public static boolean login(User user,HttpServletRequest request){
		if(user!=null){
			User users=userServiceImpl.login(user,request);
			if(users!=null){
				return true;
			}else{
				return false;
			}
		}else{
			return false;
		}
	}
}
